package com.itrencai.d23_factory_pattern;

public class FactoryDemo {
    public static void main(String[] args) {
        Computer c1=FactoryPattern.createComputer("huawei");
        c1.start();
        Computer c2=FactoryPattern.createComputer("mac");
        c2.start();

    }
}
